package cn.koala.key.complaint.entity.enums;

import cn.koala.key.common.enums.HasCaption;
import cn.koala.key.common.enums.HasCode;

/**
 * @author 38752
 */

public enum ComplaintSourceEnum implements HasCode, HasCaption {

    //客诉渠道
    PUBLIC_COMMENTS(1, "大众点评"),
    MEITUAN(2, "美团"),
    WECHAT_OFFICIAL_ACCOUNT(3, "微信公众号"),
    BOOKING_SYSTEM(4, "预约系统"),
    EHAI(5, "一嗨"),
    TELEPHONE(6, "电话"),
    ;

    private Integer code;

    private String caption;

    ComplaintSourceEnum(Integer code, String caption) {
        this.code = code;
        this.caption = caption;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getCaption() {
        return caption;
    }
}
